
-- --------------------------------------------------
-- Entity Designer DDL Script for SQL Server 2005, 2008, and Azure
-- --------------------------------------------------
-- Date Created: 03/21/2014 16:17:17
-- Generated from EDMX file: D:\0 - Projets\3 - lmondeil\Sources\ElkiTools.SQLite.WPF\ElkiTools.SQLite\EntityModels\AppParametersModel.edmx
-- --------------------------------------------------

SET QUOTED_IDENTIFIER OFF;
GO
IF SCHEMA_ID(N'dbo') IS NULL EXECUTE(N'CREATE SCHEMA [dbo]');
GO

-- --------------------------------------------------
-- Dropping existing FOREIGN KEY constraints
-- --------------------------------------------------


-- --------------------------------------------------
-- Dropping existing tables
-- --------------------------------------------------

IF OBJECT_ID(N'[dbo].[AppParameterJeu]', 'U') IS NOT NULL
    DROP TABLE [dbo].[AppParameterJeu];
GO

-- --------------------------------------------------
-- Creating all tables
-- --------------------------------------------------

-- Creating table 'AppParameters'
CREATE TABLE [dbo].[AppParameters] (
    [ID] int IDENTITY(1,1) NOT NULL,
    [Key] nvarchar(128)  NOT NULL,
    [Value] nvarchar(1024)  NOT NULL
);
GO

-- --------------------------------------------------
-- Creating all PRIMARY KEY constraints
-- --------------------------------------------------

-- Creating primary key on [ID] in table 'AppParameters'
ALTER TABLE [dbo].[AppParameters]
ADD CONSTRAINT [PK_AppParameters]
    PRIMARY KEY CLUSTERED ([ID] ASC);
GO

-- --------------------------------------------------
-- Creating all FOREIGN KEY constraints
-- --------------------------------------------------

-- --------------------------------------------------
-- Script has ended
-- --------------------------------------------------